<template>
    <div>
        <van-search v-model="value" shape="round" background="#f00" placeholder="请输入搜索关键词" @click="clicks"/>
    </div>
</template>

<script setup>
import router from '@/router';
const clicks=()=>{
router.push('/search')
}

</script>

<style lang="scss" scoped></style>